package booroo.basic;

public class J05_BigGugudan {

	public static void main(String[] args) {
		int i = 1, j = 1;
		System.out.println("\t       Multiplication Table");
		System.out.println("\t   1   2   3   4   5   6   7   8   9");
		System.out.println("----------------------------------------------");
		while (i <= 9){
			System.out.print(i+" |\t");
			while (j <= 9){
				if (i*j<=9){
				System.out.print("   "+i*j);
				}
				else System.out.print("  "+i*j);
				j++;
				}
			System.out.println();
			j = 1;
			i++;
			}
		}
	}


